package com.webbei.product.action;

import java.util.List;

import com.webbei.pojo.Customs;
import com.webbei.product.service.ProductService;

public class ShowShareProducts {
	private ProductService ps;
	private List<Customs> customs;
	private int productId;
	public String execute(){
		System.out.println("ShowShareProducts..............");
		customs = ps.getCustomsByBgPic(productId);
		return "success";
	}
	public List<Customs> getCustoms() {
		return customs;
	}
	public void setCustoms(List<Customs> customs) {
		this.customs = customs;
	}
	
	public int getProductId() {
		return productId;
	}
	public void setProductId(int productId) {
		this.productId = productId;
	}
	public void setPs(ProductService ps) {
		this.ps = ps;
	}

}
